package com.gebogebo.mobile.parking.model;

import java.util.Date;

public class ParkingSpot {
	private Long parkingId;
	private Long userId;
	private boolean isPaid;
	private Double amountPerSpot;
	private Integer availableSpots;
	private Integer totalSpots;
	private Double latitude;
	private Double longitude;
	private Double expirationDuration; //dont need it now
	private Date creationDate;
	private Date lastUpdatedDate;

	public Long getParkingId() {
		return parkingId;
	}

	public void setParkingId(Long parkingId) {
		this.parkingId = parkingId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public boolean isPaid() {
		return isPaid;
	}

	public void setPaid(boolean isPaid) {
		this.isPaid = isPaid;
	}

	public Double getAmountPerSpot() {
		return amountPerSpot;
	}

	public void setAmountPerSpot(Double amountPerSpot) {
		this.amountPerSpot = amountPerSpot;
	}

	public Integer getAvailableSpots() {
		return availableSpots;
	}

	public void setAvailableSpots(Integer availableSpots) {
		this.availableSpots = availableSpots;
	}

	public Integer getTotalSpots() {
		return totalSpots;
	}

	public void setTotalSpots(Integer totalSpots) {
		this.totalSpots = totalSpots;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getExpirationDuration() {
		return expirationDuration;
	}

	public void setExpirationDuration(Double expirationDuration) {
		this.expirationDuration = expirationDuration;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public Date getLastUpdatedDate() {
		return lastUpdatedDate;
	}

	public void setLastUpdatedDate(Date lastUpdatedDate) {
		this.lastUpdatedDate = lastUpdatedDate;
	}

	@Override
	public String toString() {
		return "ParkingSpot [parkingId=" + parkingId + ", userId=" + userId
				+ ", isPaid=" + isPaid + ", amountPerSpot=" + amountPerSpot
				+ ", availableSpots=" + availableSpots + ", totalSpots="
				+ totalSpots + ", latitude=" + latitude + ", longitude="
				+ longitude + ", expirationDuration=" + expirationDuration
				+ ", creationDate=" + creationDate + ", lastUpdatedDate="
				+ lastUpdatedDate + "]";
	}
	
}